package chp02;

public class Test6 {

    public static void main(String[] args) {
        //自增 自减运输
        int a = 100;
        a = a + 1;
        System.out.println(a);
        a++;
        System.out.println(a);
        a += 1;
        System.out.println(a);
        a += 5;
        System.out.println(a);
        a += -5;
        System.out.println(a);
        //自减
        int b = 1000;
        b = b - 1;
        System.out.println(b);
        b--;
        System.out.println(b);
        b -= 1;
        System.out.println(b);
    }
}
